<div id="entry_<%=entry.id%>" class="hentry" title="<%=entry.title.slice(0,15)%>">
  <h2 class="entry-title"><%= link_to entry.title, entry.permalink.strip %></h2>
  <div class="entry-content">
    <% if Aggregator::ServiceConstants::FLICKR == entry.service_id %>
      <%= entry.description %>
      <%= entry.content %>
    <% else %>
      <% text = entry.description.length > entry.content.length ? entry.description : entry.content %>
      <%= text %>
    <% end %>
    <p>
      <a href="<%=entry.permalink.strip%>" title="Read article" target="blank"><img src="/images/read.png" /></a>
      <a href="http://www.ozmozr.com/submit?u=<%=CGI::escape(entry.permalink.strip)%>&t=<%=CGI::escape(entry.title.slice(0,200))%>&c=<%=CGI::escape(text.slice(0,400))%>" title="Ozmoze this article" target="blank"><img src="/images/share.png" /></a>
      <span id="marked-status">
        <% if current_user.marked.include?(entry) -%>
          Entry Marked
        <% else -%>
					<%= link_to image_tag("mark.png" , :size => "40x40" ), {:action => 'mark_entry', :id => entry.id }, {:title => 'Mark this entry in your "marked feed" so that it is easy to find later on.', :target => '_parent'} %>
        <% end -%>  
      </span>
    </p>
  </div>
  <div class="entry-metadata">
    <p class="published">published <%= distance_of_time_in_words(Time.now, entry.published_at) %> ago</p> 
    <p class="vcard">By <a class="url fn" href="<%= entry.feed_uri %>"><%= h entry.feed_title %></a></p>	
  </div>
</div>
